Modelling proofs belong to a thread in the Work in Progress forum, which you then link in the mod submission form. I have moved this thread to the correct forum in the "Development thread URL / ID" field.
Thanks for posting this, I think he explains everything very well and in detail. I also recommend watching his videos on suspension where he talks about roll centre. This might be helpful for people building suspension for their mods.
InSim and OutSim are different protocols. OutSim packets will only be sent to the currently viewed car from cockpit view.
To set up OutSim, edit these lines in cfg.txt:
OutSim Mode 0 :0-off 1-driving 2-driving+replay OutSim Delay 1 :minimum delay between packets (100ths of a sec) OutSim IP 0.0.0.0 :IP address to send the UDP packet (127.0.0.1 for local host) OutSim Port 0 :IP port OutSim ID 0 :if not zero, adds an identifier to the packet OutSim Opts 0 : a hexadecimal number to send various OutSim data - see docs/OutSimPack.txt
Then the library you're using must support receiving OutSim data from a given port.
Maybe I'm wrong but that 1 second debounce time seems to be there to prevent exploits by creating scripts which would automatically adjust the brake balance in real time or very quickly based on the brake input, effectively giving an advantage over those who don't use it. Similarly, a clever program could analyze live OutSim data and adjust the them to counteract oversteer or understeer mid-corner.
This makes me wonder how the car's headlights will behave in this regard. For example, if they shine at a wall, will the light be visible on the ground behind the wall as well? I assume it will be like that based on Scawen's answer to Drifteris.
Of course, it's totally fine if it's not so advanced in the upcoming update - it's still gonna be way better than what we have now
You're right, making use of the existing open config areas would be nice as well. There's one issue though - they are designed for left side driving only, so in order to support right side driving too, the road markings and signs would need to be updated in the layout.
I've already got a simple traffic light system in place so I can put them into the layout.
I think I'll start with a single player local InSim app for now and maybe extend it to multiplayer later.